package com.eastedu.report.common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 不同教学环节教师资源参与情况（环节汇总）
 * <p>
 * 报表模块： 教师资源应用分析 - 同步教研、学生活动（参与情况）
 * 维度：校级-学段-学校-用户合作模式-同步-资源id
 * 教学环节： 同步备课环节、同步教学环节、同步教研环节、学生活动环节、同步测验环节
 *
 * @author luozhenzhong
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "t_teacher_teaching_activity_resource_join")
@TableName("t_teacher_teaching_activity_resource_join")
public class TeacherTeachingActivityResourceJoinPO extends CommonDimensionEntity {

    @Column(name = "`teaching_activity`", columnDefinition = "varchar(100) comment '教学环节，包括：整体、同步备课、同步教学、同步教研、学生活动、同步测验'")
    private String teachingActivity;

    @Column(name = "`resource_receive_number`", columnDefinition = "int comment '开展教研活动个数'")
    private Integer resourceReceiveNumber;
    @Column(name = "`live_resource_receive_number`", columnDefinition = "int comment '以直播形式开展的教研活动个数'")
    private Integer liveResourceReceiveNumber;
    @Column(name = "`vod_resource_receive_number`", columnDefinition = "int comment '以点播形式开展的教研活动个数'")
    private Integer vodResourceReceiveNumber;
    @Column(name = "`live_resource_use_number`", columnDefinition = "int comment '总参与个数（直播形式开展）'")
    private Integer liveResourceUseNumber;
    @Column(name = "`live_resource_join_number`", columnDefinition = "int comment '直播参与个数（直播形式开展）'")
    private Integer liveResourceJoinNumber;
    @Column(name = "`playoff_resource_use_number`", columnDefinition = "int comment '回看参与个数（直播形式开展）'")
    private Integer playoffResourceUseNumber;
    @Column(name = "`vod_resource_use_number`", columnDefinition = "int comment '总参与个数（点播形式开展）'")
    private Integer vodResourceUseNumber;
    @Column(name = "`live_resource_join_rate`", columnDefinition = "double comment '直播参与率'")
    private Double liveResourceJoinRate;
    @Column(name = "`resource_use_rate`", columnDefinition = "double  comment '总参与率'")
    private Double resourceUseRate;
}
